package com.lankystar.logistucs.spring.service;

import java.util.List;
import java.util.Map;

import com.lankystar.logistucs.spring.entity.User;

public interface OrderService {

	/**
	 * Cargo id凭借字符串、所选车、所选司机、登陆者
	 * @param values
	 * @param truckId
	 * @param userId
	 * @param user
	 */
	List<Map<String, Object>> addOneOrder(String values,Integer truckId,Integer userId,User user);
	
	/**
	 * 通过用户id查找到一级、二级订单，更新返回《userId、OneOrderId、OneStatusKey、OneStatusValue》
	 * @param userId
	 * @param oneStatusKey
	 */
	Map<String, Object> updateOneOrder(User user,int oneStatusKey);
}
